package com.example.demo.model.enums;

import lombok.*;

@AllArgsConstructor
@ToString
@Getter
public enum RespEnum {

    Success(200,"成功"),
    Failed(404,"失败"),
    UserNullPoint(50001,"账号或密码有值为空"),
    DBNullPoint(40001,"数据库中无此数据"),
    PassWordError(40002,"账号密码错误"),
    IDCODEError(40003,"验证码错误"),
    USEREXIST(50002,"用户名已存在");
    private final Integer code;
    private final String msg;
}
